package com.kalix.mooc.reply.api.dto;

import io.swagger.annotations.ApiModelProperty;

import java.util.Date;
/**
 *
 * MessageDTO
 * */
public class MessageDTO {
    private long id;
    private String uname;// 授课教师
    private long cid; //课程id
    private String icon; //教师头像
    private String content;  // 评论内容
    private long score;    // 评分
    @ApiModelProperty(value = "创建日期", hidden = true)
    private Date creationDate; // 创建日期

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public long getCid() {
        return cid;
    }

    public void setCid(long cid) {
        this.cid = cid;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public long getScore() {
        return score;
    }

    public void setScore(long score) {
        this.score = score;
    }

    public Date getCreationDate() {
        return creationDate;
    }

    public void setCreationDate(Date creationDate) {
        this.creationDate = creationDate;
    }
}
